<ion-view view-title="虚拟商品" class="myrecord_virtualgoods">	
	
    <ion-content>
       <div class="list">
		   <li class="item item-divider">宝贝基本信息</li>
		   <div class="item item-input item-select" data-tap-disabled="true" style="padding:0 30px 0 15px;">
				<div class="input-label">品牌</div>
				<div class="input-value" ng-click="doSelectBrand()">{{input.brand.name}}</div>
			</div>
			<div class="item item-input item-select" data-tap-disabled="true" style="padding:0 30px 0 15px;">
					<div class="input-label">大分类</div>
					<div class="input-value" ng-click="doSelectCat1()">{{input.cat1.name}}</div>
				</div>
				<div class="item item-input item-select" data-tap-disabled="true" style="padding:0 30px 0 15px;">
					<div class="input-label">中分类</div>
					<div class="input-value" ng-click="doSelectCat2()">{{input.cat2.name}}</div>
				</div>
				<div class="item item-input item-select" data-tap-disabled="true" style="padding:0 30px 0 15px;">
					<div class="input-label">小分类</div>
					<div class="input-value" ng-click="doSelectCat3()">{{input.cat3.name}}</div>
				</div>
       	 <li class="item item-input">
       	 	<span class="input-label">商品名称</span>
   			<input type="text" placeholder="请输入商品名称" />
       	 </li>
       	 <li class="item item-input">
       	 	<span class="input-label">商品编号</span>
   			<input type="text" placeholder="请输入商品编号" />
       	 </li>
       	 <li class="item item-input">
				商品关键词
		 <textarea rows="3" class="padding-left" placeholder="请输入商品关键词"></textarea>
		</li>
		<li class="item item-input">
				商品简介
           <textarea rows="5" class="padding-left" placeholder="请输入商品简介"></textarea>
		</li>
		 <li class="item item-input">
       	 	<span class="input-label">
       	 		商品图片
       	 	</span>
           	<a class="add input-file" href="javascript:void(0);"><span class="icon ion-plus"></span><input size="100" type="file"></a>
         </li>
         <li class="item item-borderless font-small-my padding-0" style="padding-right: 10px;">
		  <span class="right-zhang  font-gray-my">800*800，大小不能超过1M</span>
		</li>
		
	   <li class="item item-divider">宝贝属性</li>
	   <div class="item item-input item-select" data-tap-disabled="true" style="padding:0 30px 0 15px;">
			<div class="input-label">品牌</div>
			<div class="input-value" ng-click="doSelectBrand()">{{input.brand.name}}</div>
		</div>
       	  <li class="item item-input">
			<span class="input-label">
				销售价(元)
			</span>
			<input type="text" placeholder="请输入商品销售价"/>
		 </li>
		  <li class="item item-input">
			<span class="input-label">
				会员价
			</span>
			<span class="positive"  on-tap="show_apply()">编辑会员价</span>
		 </li>
		  <li class="item item-input">
			<span class="input-label">
				市场价(元)
			</span>
			<input type="text" placeholder="请输入商品市场价"/>
		 </li>
		 <li class="item item-input">
       	 	<span class="input-label">
       	 		商品图片
       	 	</span>
       	 	<input type="text" placeholder="请输入商品货号" />
         </li>
         <li class="item item-borderless font-small-my padding-0" style="padding-right: 10px;">
		  <span class="right-zhang  font-gray-my">无指定货号可不填，系统自动生成</span>
		</li>
		 <li class="item item-input-inset ">
			<span class="input-label">
				登录方式
			</span>
			<label id="myself_id"><input type="radio" id="myself_id" name="favorable" class="radio_size_zhang"/>手动输入</label>
			<label id="auto_id"><input type="radio" id="auto_id" name="favorable"  class="radio_size_zhang margin-left-10-my"/>自动生成</label>
		</li>
		 <li class="item item-toggle">
			立即上架
			 <label class="toggle toggle-positive">
             <input type="checkbox" checked="">
             <div class="track">
               <div class="handle"></div>
             </div>
           </label>
		</li>
		<div class="item item-input item-select" data-tap-disabled="true" style="padding:0 30px 0 15px;">
				<div class="input-label">自定义分类</div>
				<div class="input-value" ng-click="doSelectCat1()">{{input.cat1.name}}</div>
		</div>
       <li class="item item-divider">
       	   	相关商品
	   </li>
	   <div class="item item-input item-select" data-tap-disabled="true" style="padding:0 30px 0 15px;">
			<div class="input-label">商品选择</div>
			<div class="input-value" ng-click="doSelectCat1()">{{input.cat1.name}}</div>
	</div>
       	 <li class="item item-divider">
       	   	SEO设置
       </li>
		<li class="item item-input">
			keywords
           <textarea rows="3" class="padding-left" placeholder="请输入keywords"></textarea>
		</li>
		<li class="item item-input">
				description
           <textarea rows="5" class="padding-left" placeholder="请输入description"></textarea>
		</li>
       </div>
       
     <div class="button-bar padding">
     	 <button class="button  button-assertive" >取消</button>
     	 <button class="button  button-positive col-offset-10" >保存</button>
     </div>
    	
	</ion-content>
	
	
	<!--弹窗，通过点击控制-->
	<div ng-hide="isHide" class="kuang_zhang padding">
	<div class="list list-inset margin-top-0-my">
		<li class="item item-divider text-center">编辑会员价</li>
		  	<li class="item padding-0">
		    <div class="row text-center padding-0">
		   	  <div class="col borderRight_my">会员等级</div>
		   	  <div class="col borderRight_my">会员价</div>
		   	  <div class="col">折扣</div>
		   </div>
		  </li> 
		   <li class="item padding-0">
		    <div class="row padding-0 text-center">
		   	  <div class="col borderRight_my"><input type="text" readonly="" value="初级会员" style="width: 100%; background-color: #FFFFFF;" class="text-center"/></div>
		   	  <div class="col borderRight_my"><input type="text" style="width: 100%;" placeholder="会员价" class="text-center"></input></div>
		   	  <div class="col"><input type="text" style="width: 100%;" placeholder="会员折扣" class="text-center"></input></div>
		   </div>
		 </li>  
		   <li class="item padding-0">
		    <div class="row padding-0 text-center">
		   	  <div class="col borderRight_my"><input type="text" readonly="" value="中级会员" style="width: 100%; background-color: #FFFFFF;" class="text-center"/></div>
		   	  <div class="col borderRight_my"><input type="text" style="width: 100%;" placeholder="会员价" class="text-center"></input></div>
		   	  <div class="col"><input type="text" style="width: 100%;" placeholder="会员折扣" class="text-center"></input></div>
		   </div>
		 </li> 
		   <li class="item padding-0">
		    <div class="row padding-0 text-center">
		   	  <div class="col borderRight_my"><input type="text" readonly="" value="高级会员" style="width: 100%; background-color: #FFFFFF;" class="text-center"/></div>
		   	  <div class="col borderRight_my"><input type="text" style="width: 100%;" placeholder="会员价" class="text-center"></input></div>
		   	  <div class="col"><input type="text" style="width: 100%;" placeholder="会员折扣" class="text-center"></input></div>
		   </div>
		 </li>  
	  </div>
	 <div class="button-bar padding">
     	 <button class="button  button-assertive" on-tap="hide_apply()">取消</button>
     	 <button class="button  button-positive col-offset-10" on-tap="hide_apply()">保存</button>
     </div>
     
	</div>

	<!--透明背景，当弹窗出现时，该背景也跟着出现，通过点击控制-->
	<div ng-hide="isHide" class="touming_zhang" on-tap="hide_apply()"></div>
	    		
</ion-view>